package com.example.myapplication;

import java.util.ArrayList;
import java.util.List;

public class Word_List_Camera {

    private List<Words_result> words_result;
    public void setWords_result(List<Words_result> words_result) {
        this.words_result = words_result;
    }
    public List<String> getWords_result() {
        List<String> Result=new ArrayList<>();
        for(int i=0;i<words_result.size();i++){
            Result.add(words_result.get(i).getWords());
        }
        return Result;
    }

    @Override
    public String toString() {
        String Result="";
        List<String> get123=getWords_result();
        for(int i=0;i<get123.size();i++){
            Result+=get123.get(i)+"\n";
        }
        return Result;
    }

    public class Words_result {

        private String words;
        public void setWords(String words) {
            this.words = words;
        }
        public String getWords() {
            return words;
        }

    }

}
